<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
    'action'=>url('/Core/service/index',array('SID' => 'User.User.signup','FORMAT' => 'xml')),
    'id'=>'user-form',
    'enableAjaxValidation'=>false,
)); ?>

    <h2>Sign up to get your site up and running in 5 minutes:</h2>

    <?php $this->widget('MessageBox'); ?>

    <!-- div class="row">
        <?php echo $form->labelEx($model,'username'); ?>
        <?php echo $form->textField($model,'username'); ?>
        <?php echo $form->error($model,'username'); ?>
    </div -->

    <div class="row">
        <?php echo $form->labelEx($model,'name1'); ?>
        <?php echo $form->textField($model,'name1'); ?>
        <?php echo $form->error($model,'name1'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'name2'); ?>
        <?php echo $form->textField($model,'name2'); ?>
        <?php echo $form->error($model,'name2'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'name3'); ?>
        <?php echo $form->textField($model,'name3'); ?>
        <?php echo $form->error($model,'name3'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'birth_month'); ?>
        <?php echo $form->textField($model,'birth_month'); ?>
        <?php echo $form->error($model,'birth_month'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'birth_date'); ?>
        <?php echo $form->textField($model,'birth_date'); ?>
        <?php echo $form->error($model,'birth_date'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'email'); ?>
        <?php echo $form->textField($model,'email'); ?>
        <?php echo $form->error($model,'email'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'password'); ?>
        <?php echo $form->passwordField($model,'password'); ?>
        <?php echo $form->error($model,'password'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'confirmPassword'); ?>
        <?php echo $form->passwordField($model,'confirmPassword'); ?>
        <?php echo $form->error($model,'confirmPassword'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'is_over_13'); ?>
        <?php echo $form->checkBox($model,'is_over_13'); ?>
        <?php echo $form->error($model,'is_over_13'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'parent_email'); ?>
        <?php echo $form->textField($model,'parent_email'); ?>
        <?php echo $form->error($model,'parent_email'); ?>
    </div>
    
    <div class="row buttons">
        <?php echo CHtml::submitButton('Sign in'); ?>
        <?php echo CHtml::link('Forgot password', array('forgot'), array('title' => 'Forgot password')); ?>&nbsp;|&nbsp;<?php echo CHtml::link('Login', array('login'), array('title' => 'Login')); ?>
    </div>

<?php $this->endWidget(); ?>
</div>